package com.e.dianshang.service.impl;

import com.e.dianshang.mapper.OrderMapper;
import com.e.dianshang.pojo.Order;
import com.e.dianshang.service.OrderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created with IntelliJ IDEA.
 * User: HP
 * Date: 2020/11/16 17:08
 * Description:
 */
@Service("orderService")
public class OrderServiceImpl implements OrderService {

    @Resource
    OrderMapper orderMapper;

    @Override
    public int insert(Order order) {
        return orderMapper.insertSelective(order);
    }
}
